package com.zr.serviceImpl;

import java.util.List;

import net.sf.json.JSONArray;

import com.zr.dao.SelectDateDao;
import com.zr.daoImpl.SelectDateDaoImpl;
import com.zr.model.Employee;
import com.zr.service.SelectDateService;

public class SelectDateServiceImpl implements SelectDateService{
	SelectDateDao sedao = new SelectDateDaoImpl();
	@Override
	public JSONArray selectdateByEid(int eid) {
		Employee emp = sedao.selectDateByEid(eid);
		 JSONArray j = JSONArray.fromObject(emp);
		return j;		
	}

}
